$OpenBSD: patch-libraries_source_fcollada_src_Makefile,v 1.2 2014/10/19 07:46:45 bentley Exp $
--- libraries/source/fcollada/src/Makefile.orig.port	Mon Oct 13 06:24:26 2014
+++ libraries/source/fcollada/src/Makefile	Mon Oct 13 06:25:11 2014
@@ -10,7 +10,7 @@ endif
 CXX ?= g++
 CXXFLAGS += -fvisibility=hidden -W -Wall -Wno-unused-parameter -Wno-unused-function $(OS_DEFINE) $(PIC_FLAGS) $(CPPFLAGS)
 CXXFLAGS_DEBUG := -O0 -g -D_DEBUG -DRETAIL
-CXXFLAGS_RELEASE := -O2 -DNDEBUG -DRETAIL
+CXXFLAGS_RELEASE := -DNDEBUG -DRETAIL
 CXXFLAGS_TEST := -O0 -g -D_DEBUG
 LIBS += `pkg-config libxml-2.0 --libs`
 INCLUDES += -IFCollada `pkg-config libxml-2.0 --cflags`
@@ -224,7 +224,7 @@ OBJECTS_RELEASE = $(addprefix output/release/,$(SOURCE
 OBJECTS_TEST = $(addprefix output/test/,$(SOURCE:.cpp=.o) $(TEST_SOURCE:.cpp=.o))
 OBJECTS_ALL = $(OBJECTS_DEBUG) $(OBJECTS_RELEASE) $(OBJECTS_TEST)
 
-all: output/libFColladaSD.a output/libFColladaSR.a install
+all: output/libFColladaSD.a install
 
 output_dirs:
 	bash -c 'mkdir -p output/{debug,release,test}/{FCollada/{FCDocument,FMath,FUtils,FColladaTest/{FCTestAssetManagement,FCTestExportImport,FCTestXRef}},FColladaPlugins/FArchiveXML}'
@@ -244,8 +244,7 @@ output/libFColladaSR.a: $(OBJECTS_RELEASE) | output_di
 output/FColladaTest: $(OBJECTS_TEST) | output_dirs
 	$(CXX) -o $@ $(LDFLAGS) $(OBJECTS_TEST) $(LIBS)
 
-install: output/libFColladaSD.a output/libFColladaSR.a
-	cp output/libFColladaSD.a ../lib/libFColladaSD.a
+install: output/libFColladaSR.a
 	cp output/libFColladaSR.a ../lib/libFColladaSR.a
 
 dfile = $(@:.o=.d)
@@ -272,5 +271,3 @@ clean:
 	rm -rf output
 
 -include $(OBJECTS_ALL:.o=.P)
-
-.SILENT:
